package com.mezo.athena.system.domain;

import com.mezo.athena.common.annotation.Excel;
import com.mezo.athena.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 品牌对象 ry_brand
 * 
 * @author athena
 * @date 2024-11-13
 */
public class RyBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String brandCode;

    /** 名称 */
    @Excel(name = "名称")
    private String brandName;

    /** 层级 */
    @Excel(name = "层级")
    private String brandLevel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBrandCode(String brandCode) 
    {
        this.brandCode = brandCode;
    }

    public String getBrandCode() 
    {
        return brandCode;
    }
    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }
    public void setBrandLevel(String brandLevel) 
    {
        this.brandLevel = brandLevel;
    }

    public String getBrandLevel() 
    {
        return brandLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandCode", getBrandCode())
            .append("brandName", getBrandName())
            .append("brandLevel", getBrandLevel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
